Skip to content

Top-level cleanup: move examples/gradio and add scripts#1617

Closed
cyberviser wants to merge 6 commits intogithub:mainfrom
cyberviser:copilot/philosophical-cattle
Closed

Top-level cleanup: move examples/gradio and add scripts#1617
cyberviser wants to merge 6 commits intogithub:mainfrom
cyberviser:copilot/philosophical-cattle

Conversation

@cyberviser
Copy link
Copy Markdown

Summary

  • Moves gradio/ from repository root → examples/gradio/ for better organization
  • Adds scripts/migrate-top-level.sh helper for future top-level migrations
  • Adds examples/README.md and scripts/README.md documentation

install.sh intentionally remains at the repository root to preserve the curl | sh installer behavior.

Test plan

  • Verify install.sh still works at repo root
  • Verify examples/gradio/ has all files previously at gradio/
  • Run scripts/migrate-top-level.sh (dry-run) and confirm no errors

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings February 22, 2026 21:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reorganizes repository structure by moving the gradio/ directory into examples/gradio/ and adding helper scripts and documentation for future migrations.

Changes:

  • Moved gradio/ from repository root to examples/gradio/ (appears as a subproject)
  • Added migration script scripts/migrate-top-level.sh with dry-run capability
  • Added documentation files: scripts/README.md, examples/README.md, .github/copilot-instructions.md, .github/agents/infra-strategist.agent.md
  • Added devcontainer configuration

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/migrate-top-level.sh Migration helper script for moving directories with git history preservation
scripts/README.md Brief documentation for the scripts directory
examples/gradio Gradio directory now appears as a git submodule
examples/README.md Documentation explaining the examples directory structure
PULL_REQUEST_DRAFT.md Draft PR documentation with patch application instructions
.github/copilot-instructions.md Repository guide for GitHub Copilot CLI usage
.github/agents/infra-strategist.agent.md Agent configuration for infrastructure strategy assistance
.devcontainer/devcontainer.json Dev container configuration with required extensions
Comments suppressed due to low confidence (1)

examples/gradio:1

  • The gradio directory is now a git submodule, but neither the PR description nor the examples/README.md mentions this significant architectural change. This should be clearly documented as it affects how contributors clone and update the repository.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread PULL_REQUEST_DRAFT.md
Comment on lines +8 to +12
/home/vscode/.copilot/session-state/499fa254-c980-4afc-9b7c-4264fb5e64e5/patches/top-level-cleanup.patch

How to apply the patch locally (if you prefer to push from your environment):
git checkout -b copilot/philosophical-cattle
git am /home/vscode/.copilot/session-state/499fa254-c980-4afc-9b7c-4264fb5e64e5/patches/top-level-cleanup.patch
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch file path contains a session-specific UUID that appears to be temporary and environment-specific. This makes the documentation less useful as the path won't exist for other users. Consider either removing this file from the PR or updating it with a generic placeholder path.

Suggested change
/home/vscode/.copilot/session-state/499fa254-c980-4afc-9b7c-4264fb5e64e5/patches/top-level-cleanup.patch
How to apply the patch locally (if you prefer to push from your environment):
git checkout -b copilot/philosophical-cattle
git am /home/vscode/.copilot/session-state/499fa254-c980-4afc-9b7c-4264fb5e64e5/patches/top-level-cleanup.patch
/path/to/top-level-cleanup.patch
How to apply the patch locally (if you prefer to push from your environment):
git checkout -b copilot/philosophical-cattle
git am /path/to/top-level-cleanup.patch

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid Not a valid issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants